home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / utils / vector21 / vector.txt < prev    next >
Text File  |  1994-10-10  |  4KB  |  131 lines

  1. /*
  2. Algoritmic Images Editor Vector 2.0
  3. (C) Stepan S. Vartanov, 1994
  4.  
  5. LICENZE.
  6.  
  7.      It is "AS IS".
  8.      If you use Vector without licenze, and find it convenient
  9. to use, a registration of $30 would  be  appreciated. To
  10. receive new versions add registration card in any form.
  11.  
  12. Dealers invited.
  13.  
  14. WHAT IS VECTOR ?
  15.  
  16.      Vector is interactive editor of pictures in VEC format.
  17. It  use formulas to desvribe the image. All output could be
  18. scrolled, zoomed, rotated and printed on different types of
  19. printers. Export to PCX format is also supported.
  20.  
  21. Installation.
  22.      Create  the  directory  (for example, "Vector") and copy
  23. the VEC.EXE archive to it. Run it and then remove the archive.
  24. If instead of archivated  program,  your  disk  contains  non-
  25. archivated files, simply copy  them  to  the directory. Do not
  26. run VECTOR from floppy disk - it is very ineffective.
  27.  
  28. How to work with VECTOR.
  29.      Run VECTOR.EXE.
  30.      To  jump  to  the main menu from any window of package,
  31. press F10.
  32.      Left panel is the "output" of program. When you run
  33. VECTOR, the WORK.VEC file is loaded.
  34.      Right panel is the text editor. You could use it for
  35. writing formulas.
  36.      Vector is an OOPic language interpreter.
  37.  
  38. *)   If you are programmer. Vector interprete BGI (DOS) or
  39. GDI (Windows). It is an exellent tool for maketing the graphic
  40. programs (no compiling delay, code and result are visible at
  41. the same screen).
  42.  
  43.      OOPic is a very simple language, it could be studied in
  44. a few minutes. Default extention for OOPic files is *.VEC.
  45.  
  46. ***********************************************
  47.              ***************************************************
  48. DOS VERSION OF VECTOR.
  49. Main Menu, File.
  50.      Load. Loads program from file (but does not run it before
  51. F2 pressed).
  52.      Save. Save program to file. If user press F2 (draw program
  53. on the left panel) the file saving is processed automatically.
  54.      Save PCX. Copy image to PCX file. Be attentive with the
  55. zoom of image (see) and with the buffer size.
  56.      Save PCX B&W. Convert PCX file to Black and White and
  57. approximates colors with patterns.
  58.      << ?  >> "About". (To get help press F1 from the main menu).
  59.  
  60. Main menu, Buffer.
  61.      Size of graphic primitives depends of zooming. Size of
  62. the "page" to draw depends of the size of buffer. It is
  63. important in Save PCX and Print cases (when we need to convert
  64. image to raster format).
  65.  
  66. Main Menu, Scripts.
  67.      You could Record - Play key pressings to file (no mouse).
  68.      To link Script with "hot key" use Macros item.
  69.      Lets write macros ALT/F to call file menu.
  70. <F10> - <S>cript - <R>ecord - <file.sc> - <ENTER> -
  71. <F10> - <F>ile -
  72. <F10> - <S>cript - <S>top
  73.  
  74. We get file FILE.SC:
  75. <F10> f <F10> cc
  76.  
  77. It calls file menu, but immediately hides it. To correct situation,
  78. remove the last cc characters.
  79.  
  80. Macros building:
  81. <F10> - <S>cript - <M>acros - <file.sc> - "hot key Alt/F"
  82.  
  83. Main Menu, Print.
  84.      Print on Epson-compatible or LJ-compatible printers.
  85.  
  86. ##################################################################
  87. LANGUAGE.
  88.      You could use examples (*.VEC files) to study OOPic.
  89. Here are the most important details.
  90.      Arrays of numbers.
  91.  
  92. Declaration:
  93. ARR[12] (name ARR, 12 elements)
  94. ...
  95. ARR[10] = 321 (usage).
  96.  
  97. Functions could not get and return array.
  98.  
  99. Drawing Functions.
  100.      LINE(x1, y1, x2, y2)
  101.      LINETO(x, y)
  102.      RECTANGLE(x1, y1, x2, y2)
  103.      ELLIPSE(x, y,  stangle, endangle,  xradius, yradius)
  104.      TEXT(x, y,  string)
  105.      POLY(n, x1, y1, ... xn, yn)
  106.      MOVETO(x, y)
  107.      SETTEXTSTYLE(font name) load BGI font
  108.      SETLINE(width)
  109.      ZOOM(zoomx, zoomy)
  110.      ADDZOOM(addzoomx, addzoomy) - you could use this function
  111. only once in the beginning of a program (like ADDSCROLL) to
  112. set total picture scaling.
  113.      ROTATE(alpha,  x,   y) - rotation. If ROTATE_ON was called,
  114. package records all rotations, and use them all. Do not forget
  115. it - rotations are slow operation. Call for ROTATE_OFF (default)
  116. to have simple rotations.
  117.      SETFILL(fill) - 0 or 1. Fill or not closed figures
  118.      SETFILLSTYLE(fill, color) - 0 - 15.
  119.      SETCOLOR(color)
  120.      SCROLL(x, y)
  121.  
  122. Keys.
  123.      F6 - go to the next window;
  124.      Tab - go to next window button;
  125.      F2 - save / run / OK;
  126.      F10 - main menu;
  127.      ESC - cancel operation
  128.  
  129.  
  130.  
  131.